package com.softtown.modules.sys.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.softtown.common.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户-公司员工 履历表
 * @author Dingyayong
 * @version v1.0
 * @create 2019-05-16 18:02
 **/
@Data
public class CompSysHstUserEmplDTO implements Serializable {
    private static final Long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "公司所属id")
    private Long compId;

    @ApiModelProperty(value = "到期时间，即原关联关系的失效时间")
    private Date exprDate;

    @ApiModelProperty(value = "员工id(变更前）")
    private Long emplIdOld;

    @ApiModelProperty(value = "用户名(变更前）")
    private String usernameOld;

    @ApiModelProperty(value = "员工id(变更后）")
    private Long emplIdNew;

    @ApiModelProperty(value = "员工id(变更后）")
    private String usernameNew;

    @ApiModelProperty(value = "创建者")
    private String creatorName;

    @ApiModelProperty(value = "创建时间")
    private Date createDate;


}

